package com.ljh.mall.order.feign;

import com.ljh.common.utils.R;
import com.ljh.mall.order.vo.WareSkuLockVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author ：刘剑鸿
 * @date ：Created in 2023/4/22 20:43
 * @description：
 * @modified By：
 * @version: $
 */
@FeignClient("mall-ware")
public interface WareFeignService {
    @PostMapping("/ware/waresku/lock/order")
    public R orderLockStock(@RequestBody WareSkuLockVO vo);
}
